<?php

/**
 * @Restricted
 */
return function($req)
{
    $code = $req->getParam("code");
    $req->getRespondingPolicy()->setRenderer("layout + errors/{$code}");
};
